//
//  HotWordAppDelegate.h
//  HotWord
//
//  Created by Rainbow on 8/22/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "SliderView.h"
#import "TouchMaskView.h"

@interface HotWordAppDelegate : NSObject <UIApplicationDelegate, CLLocationManagerDelegate, UIAlertViewDelegate> {
   
    UIImageView *background;
    UIView *_MainToolBar;
    //控制几个不同viewController，以堆栈的形式
    UINavigationController *navigationController;
    
	CLLocationManager *locationManager;
    NSDictionary *_upgradeInfo;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UIImageView *background;
@property (nonatomic, retain) SliderView *sliderView;
@property (nonatomic, assign) BOOL isSliderViewShowing;
@property (nonatomic, retain) TouchMaskView *touchMaskView;


-(void)initData;

@property (nonatomic, retain) IBOutlet UIView *MainToolBar;

+ (HotWordAppDelegate *)sharedAppDelegate;
- (void)showSliderView:(BOOL)isShow;
- (void)setRootViewLeft:(CGFloat)left;


@end
